import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import union_web_pay from '@feidao/web/atom/browser/msg/union-web-pay';
import { send_msg as url, spaceid } from "../../atom-web/config";

export default async function a002(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// todo
	const trade_no = new Date().getTime();
	const res = await union_web_pay(url, spaceid, '07', trade_no + '', '0.01', 'union_web', 'acp_test_enc.cer', 'acp_test_middle.cer', 'acp_test_root.cer', 'acp_test_sign.pfx', false);
	console.log(res);
}
